#include "ModelRenderFeature.h"
#include <SEngine/Render/Entity/Model.h>
#include <SERender/Renderer/Renderer.h>

namespace SEngine
{
    void ModelRenderFeature::DrawModel(Model & model)
    {
        model.Draw(m_renderer);
    }

    void ModelRenderFeature::DrawModel(Model &model, ResRef<Material> material)
    {
        model.Draw(m_renderer, material);
    }

    void ModelRenderFeature::DrawModel(Model &model, ResRef<Shader> shader)
    {
        model.Draw(m_renderer, shader);
    }

} // namespace SEngine

